package java111;

import java.util.ArrayList;
import java.util.Arrays;

public class Demo1 {


    public static void main(String[] args) {
        //System.out.println();
//        Student student = new Student();
        final int[] arr = new int[]{9,8,7,6,5,4,3,2,1,0};
        for(int i=arr.length-1;i>=0;i--) {
            System.out.println(arr[i]);
        }
        Arrays.sort(arr);
        System.out.println("=======================");
        for(int i=arr.length-1;i>=0;i--) {
            System.out.println(arr[i]);
        }
    }
}
//class Student extends Comparable<{
//
//    int age;
//
//    @Override
//    public int compareTo(Object o) {
//        return 0;
//    }
//}


